package entity

type User struct {
	ID           int    `gorm:"column:id;primaryKey"`
	Username     string `gorm:"column:username"`
	Password     string `gorm:"column:password"`
	Nickname     string `gorm:"column:nickname"`
	Email        string `gorm:"column:email"`
	Avatar       string `gorm:"column:avatar"`
	ConfirmEmail bool   `gorm:"column:avatar"`
	IsMuted      bool   `gorm:"column:is_muted"`
}

func (User) TableName() string {
	return "users"
}
